﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BI.IServices;
using BIPorter.Common;

namespace BI.Site.Controllers
{
    public class OverallBuildingDataController : BaseController
    {


        private IAcountService _IAcountService { set; get; }

        public OverallBuildingDataController(IAcountService AcountService)
        {
            _IAcountService = AcountService;
        }
        /// <summary>
        /// 总体楼盘数据
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
           // var res = _IAcountService.Login("sa", "123456", "");
            //ViewBag.res = res;
            var info = base.CurrentUser;
            return View(info);
        }

        public ActionResult TestJsonWithDate()
        {
            var model = new {id="001",date=DateTime.Now};
            return base.JsonWithDate(model);
        }
    }
}
